package com.portal.backend.payload;

import lombok.Data;
import javax.validation.constraints.Size;

@Data
public class UserProfileUpdateRequest {

    @Size(max = 100)
    private String fullName;

    @Size(max = 255)
    // Basic validation for a URL, consider a more robust one if needed
    // @Pattern(regexp = "^(http|https)://[^\"\\s]+\\.(jpeg|jpg|gif|png)$", message = "无效的头像URL格式")
    private String avatar; // URL to avatar image

    // Add other updatable fields here, e.g., bio, preferences, etc.
    // For password updates, it's usually a separate, more secure process.
} 